package com.collabscm.waf.solution.failover.impl;

import com.collabscm.waf.solution.failover.Credentials;
import com.collabscm.waf.vo.ValueObject;

/**
 * 待Token的凭证信息
 *
 * @author Zeng Raoxing
 */
public class TokenCredentials extends ValueObject implements Credentials {
	private static final long serialVersionUID = 1L;
	/**
	 * 用户的Token
	 */
	private String token;
	/**
	 * 用户访问的IP地址
	 */
	private String ipAddress;
	
	public TokenCredentials(String token, String ipAddress) {
		this.token = token;
		this.ipAddress = ipAddress;
	}

	public String getToken() {
		return token;
	}

	public String getIpAddress() {
		return ipAddress;
	}

}
